package com.sykj.manage.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 短信记录字段
 * @author 蔡聪
 *	2018年10月9日上午9:41:44
 */
public class BisSmsRecordM {
	private String record_id;		//记录编号
	private String	mobile;			//手机号码
	private String	content;		//内容
	private String	sms_type;		//短信类型 1普通短信 2验证短信 3支付验证短信
	private String	send_user_id;	//发送用户编号，
	private String	user_type;		//用户类型 1员工 2顾客
	private String	create_user_id;	//
	private Date	create_time;	//
	private String	status;			//短信状态  0失败 1成功
	private Date	send_time;		//发送时间
	private String	failure_cause;	//失败原因
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date start;				//（创建）开始时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date end;				//（创建）结束时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date start1;				//（发送）开始时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date end1;				//（发送）结束时间
	
	public Date getStart1() {
		return start1;
	}
	public void setStart1(Date start1) {
		this.start1 = start1;
	}
	public Date getEnd1() {
		return end1;
	}
	public void setEnd1(Date end1) {
		this.end1 = end1;
	}
	public Date getStart() {
		return start;
	}
	public void setStart(Date start) {
		this.start = start;
	}
	public Date getEnd() {
		return end;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public String getRecord_id() {
		return record_id;
	}
	public void setRecord_id(String record_id) {
		this.record_id = record_id;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSms_type() {
		return sms_type;
	}
	public void setSms_type(String sms_type) {
		this.sms_type = sms_type;
	}
	public String getSend_user_id() {
		return send_user_id;
	}
	public void setSend_user_id(String send_user_id) {
		this.send_user_id = send_user_id;
	}
	public String getUser_type() {
		return user_type;
	}
	public void setUser_type(String user_type) {
		this.user_type = user_type;
	}
	public String getCreate_user_id() {
		return create_user_id;
	}
	public void setCreate_user_id(String create_user_id) {
		this.create_user_id = create_user_id;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getSend_time() {
		return send_time;
	}
	public void setSend_time(Date send_time) {
		this.send_time = send_time;
	}
	public String getFailure_cause() {
		return failure_cause;
	}
	public void setFailure_cause(String failure_cause) {
		this.failure_cause = failure_cause;
	}
	@Override
	public String toString() {
		return "BisSmsRecord [record_id=" + record_id + ", mobile=" + mobile + ", content=" + content + ", sms_type="
				+ sms_type + ", send_user_id=" + send_user_id + ", user_type=" + user_type + ", create_user_id="
				+ create_user_id + ", create_time=" + create_time + ", status=" + status + ", send_time=" + send_time
				+ ", failure_cause=" + failure_cause + "]";
	}
}
